import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/page/index'
import Charts from '@/components/page/charts'
import My from '@/components/page/my'
import Billing from '@/components/page/billing'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/charts',
      name: 'charts',
      component: Charts
    },
    {
      path: '/my',
      name: 'my',
      component: My
    },
    {
      path: '/billing',
      name: 'billing',
      component: Billing
    }
  ]
})
